package com.neil.dynamic.manage.service.inf;


import com.neil.dynamic.manage.entity.DynamicVersion;

import java.util.List;

/**
 *  动态版本接口
 * @ProjectName:
 * @Package:        com.neil.dynamic.manage.service.inf
 * @ClassName:      IDynamicVersionService
 * @Description:    动态版本接口
 * @Author:         Neil.Zhou
 * @CreateDate:     2019/10/14 17:59
 * @UpdateUser:     Neil.Zhou
 * @UpdateDate:     2019/10/14 17:59
 * @UpdateRemark:   The modified content
 * @Version:        1.0
 * <p>Copyright: Copyright (c) 2019/10/14</p>
 *
 */
public interface IDynamicVersionService {

    int add(DynamicVersion version);

    int update(DynamicVersion version);

    int delete(Long id);

    Long getLastVersion();

    List<DynamicVersion> listAll();
}
